<?php

$config = array(
 		'mw_campaign_template' => array(array(
                                	'field'=>'content',
                                	'label'=>'Content',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'inline_css',
                                	'label'=>'Inline_css',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'plain_text',
                                	'label'=>'Plain_text',
                                	'rules'=>'trim|xss_clean'
                                ),
								array(
                                	'field'=>'auto_plain_text',
                                	'label'=>'Auto_plain_text',
                                	'rules'=>'required|trim|xss_clean'
                                )),
				'mw_campaign' => array(
							array(
                                	'field'=>'name',
                                	'label'=>'Campaign Name',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'list_id',
                                	'label'=>'List',
                                	'rules'=>'required|trim|xss_clean'
                                )
								
								),
				'mw_campaign_setup' => array(
								array(
	                               	'field'=>'from_name',
                                	'label'=>'From Name',
                                	'rules'=>'required|trim|xss_clean'
                                ),array(
	                               	'field'=>'from_email',
                                	'label'=>'From Email',
                                	'rules'=>'required|valid_email|trim|xss_clean'
                                ),array(
	                               	'field'=>'reply_to',
                                	'label'=>'Reply to',
                                	'rules'=>'required|trim|xss_clean'
                                ),array(
	                               	'field'=>'to_name',
                                	'label'=>'To Name',
                                	'rules'=>'required|trim|xss_clean'
                                ),array(
	                               	'field'=>'subject',
                                	'label'=>'Subject',
                                	'rules'=>'trim|xss_clean'
                                ),array(
                                	'field'=>'url_tracking',
                                	'label'=>'Url_tracking',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'json_feed',
                                	'label'=>'Json_feed',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'xml_feed',
                                	'label'=>'Xml_feed',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'plain_text_email',
                                	'label'=>'Plain_text_email',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'email_stats',
                                	'label'=>'Email Stats',
                                	'rules'=>'trim|xss_clean'
                                )
							),
				'mw_list_subscriber' => array(
							
								array(
                                	'field'=>'email',
                                	'label'=>'Email',
                                	'rules'=>'required|trim|valid_email|xss_clean'
                                ),
								array(
                                	'field'=>'first_name',
                                	'label'=>'First Name',
                                	'rules'=>'trim|xss_clean'
                                ),
								array(
                                	'field'=>'last_name',
                                	'label'=>'Last Name',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'status',
                                	'label'=>'Status',
                                	'rules'=>'trim|xss_clean'
                                )
								),
             	'mw_list_validation' => array(
				//mw_list
							array(
                                	'field'=>'name',
                                	'label'=>'Name',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'description',
                                	'label'=>'Description',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								
								array(
                                	'field'=>'opt_in',
                                	'label'=>'Opt_in',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'opt_out',
                                	'label'=>'Opt_out',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								//mw_list_default
								array(
                                	'field'=>'from_name',
                                	'label'=>'From_name',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'from_email',
                                	'label'=>'From_email',
                                	'rules'=>'required|trim|valid_email|xss_clean'
                                ),
								array(
                                	'field'=>'reply_to',
                                	'label'=>'Reply_to',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'subject',
                                	'label'=>'Subject',
                                	'rules'=>'trim|xss_clean'
                                ),
								
								//mw_list_customer_notification
								array(
                                	'field'=>'daily',
                                	'label'=>'Daily',
                                	'rules'=>'trim|xss_clean'
                                ),
								array(
                                	'field'=>'subscribe',
                                	'label'=>'Subscribe',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'unsubscribe',
                                	'label'=>'Unsubscribe',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'daily_to',
                                	'label'=>'Daily_to',
                                	'rules'=>'trim|xss_clean'
                                ),
								array(
                                	'field'=>'subscribe_to',
                                	'label'=>'Subscribe_to',
                                	'rules'=>'trim|xss_clean'
                                ),
								array(
                                	'field'=>'unsubscribe_to',
                                	'label'=>'Unsubscribe_to',
                                	'rules'=>'trim|xss_clean'
                                )
								,
								//mw_list_company
								array(
                                	'field'=>'country_id',
                                	'label'=>'Country',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'zone_id',
                                	'label'=>'Zone',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'company_name',
                                	'label'=>'Company name',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'address_1',
                                	'label'=>'Address1',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'address_2',
                                	'label'=>'Address_2',
                                	'rules'=>'trim|xss_clean'
                                ),
								array(
                                	'field'=>'zone_name',
                                	'label'=>'Zone name',
                                	'rules'=>'trim|xss_clean'
                                ),
								array(
                                	'field'=>'city',
                                	'label'=>'City',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'zip_code',
                                	'label'=>'Zip_code',
                                	'rules'=>'required|trim|xss_clean'
                                ),
								array(
                                	'field'=>'phone',
                                	'label'=>'Phone',
                                	'rules'=>'trim|xss_clean'
                                ),
								array(
                                	'field'=>'address_format',
                                	'label'=>'Address format',
                                	'rules'=>'required|trim|xss_clean'
                                )
								)
			   );
			 
			   
?>